﻿using System;
using System.Collections.Generic;
using System.Text;
using KelonProud.Extensions;

namespace KelonProud.QuickQuery.Domain
{
    public enum CommandType : int
    {
        [EnumDisplay("跳转")]
        Skip,
        [EnumDisplay("请求")]
        Post,
        [EnumDisplay("弹出框")]
        Popup,
        [EnumDisplay("新窗口")]
        Window,
        [EnumDisplay("批量操作")]
        Batch
    }


    public enum QueryFilter : int
    {
        [EnumDisplay("字符串")]
        String,
        [EnumDisplay("数字")]
        Number,
        [EnumDisplay("日期")]
        Date,
        [EnumDisplay("下拉列表")]
        DropDown,
        [EnumDisplay("地区")]
        District
    }

    public enum TextAlign : int
    {
        [EnumDisplay("左对齐")]
        Left,
        [EnumDisplay("居中")]
        Center,
        [EnumDisplay("右对齐")]
        Right
    }

    public enum OperatrType
    {
        [EnumDisplay("包含")]
        Contain,
        [EnumDisplay("不包含")]
        NotContain,
        [EnumDisplay("开始于")]
        BeginOf,
        [EnumDisplay("结束于")]
        EndOf,
        [EnumDisplay("等于")]
        Equal,
        [EnumDisplay("不等于")]
        NotEqual,
        [EnumDisplay("大于")]
        GThan,
        [EnumDisplay("小于")]
        LThan
    }
}
